package com.example.mysqldemo.Mapper;

import com.example.mysqldemo.ArticleInfo;
import com.example.mysqldemo.UserInfo;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserInfoXMlMapper {
    List<UserInfo> select1();

    Integer insertinto(UserInfo userInfo);

    Integer updatetest(Integer id);

    List<UserInfo> select2();

    List<UserInfo> select3();

    Integer insertInto2(ArticleInfo articleInfo);

    ArticleInfo selectTset(Integer id);

    UserInfo queryByName(String name);

    Integer delete1(Integer id);        //根据id来删

    Integer insertUserByCondition(UserInfo userInfo);

    List<UserInfo> selectName(Integer gender);

    List<UserInfo> selectNamegender(String name,Integer age);





}
